package com.mingdong.first.danli;

public class LanhanSingleton {

	private LanhanSingleton(){
		
	}
	
	private static LanhanSingleton instance = null;
	
	public synchronized static LanhanSingleton getInstance(){
		
		if(instance == null){			
			instance = new LanhanSingleton();
		}	
		return instance;
	}
	
}
